package cc.yugu.yhdw.common.protocol.msg02;

import cc.yugu.yhdw.common.protocol.MsgCode;
import io.netty.buffer.ByteBuf;

public class Msg021000019 extends Msg021 {

    public String boxNum;
    public String batteryNo;
    public String operationMobile;
    public byte OperationType;
    public long OperationTime;

    @Override
    public int getMsgCode() {
        return MsgCode.MSG_021000019.getCode();
    }

    @Override
    public void readData(ByteBuf buffer) {
        boxNum = readString(buffer);
        batteryNo = readString(buffer);
        operationMobile = readString(buffer);
        OperationType = buffer.readByte();
        OperationTime = buffer.readLong();
    }
}
